﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VehicleConfigurator.Model
{
    public class OptionName
    {
        public int OID { get; set; }
        public int OptionOID { get; set; }
        public int LanguageOID { get; set; }
        //  public string LanguageCode { get; set; }
        private string name;
        public string Name
        {
            get
            {
                if (string.IsNullOrEmpty(name))
                {
                    return string.Empty;
                }
                else
                {
                    return name.Replace("'", "\\'");//.Replace("\"", "\\\"");
                }
            }
            set { name = value; }
        }
    }
}
